class BeanConfigure {
  List<ListItemBean> list;

  BeanConfigure({this.list});

  factory BeanConfigure.fromJson(List<dynamic> listJson) {
    List<ListItemBean> list =
    listJson.map((value) => ListItemBean.fromJson(value)).toList();
    return BeanConfigure(list: list);
  }
}

class ListItemBean {
  int value;
  String label;

  ListItemBean({this.value, this.label});

  ListItemBean.fromJson(Map<String, dynamic> json) {
    this.value = json['value'];
    this.label = json['label'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['value'] = this.value;
    data['label'] = this.label;
    return data;
  }
}